package com.jfs.envent.entity;

import com.jfs.enums.MessageEnum;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import lombok.Getter;
import lombok.Setter;

/**
 * @Description sip MESSAGE xml消息承载体
 * @E-mail cwm3412638@163.com
 * @Author cwm
 * @Date 2022/7/22
 */
@XStreamAlias("Notify")
@Getter
@Setter
public class MessageKeepAliveEntity extends BaseEventEntity {
    /**
     * 指令类型
     * {@link MessageEnum}
     */
    @XStreamAlias("CmdType")
    private String cmdType;

    @XStreamAlias("SN")
    private String sn;

    /**
     * 设备id
     */
    @XStreamAlias("DeviceID")
    private String deviceID;
    /**
     * 状态
     */
    @XStreamAlias("Status")
    private String status;

    /**
     * 详情
     */
    @XStreamAlias("Info")
    private String info;


    public MessageKeepAliveEntity(Object source) {
        super(source);
    }
}
